<template>
    <div>
        <van-nav-bar title="标题" left-text="返回" left-arrow @click-left="()=>{$router.push('/')}" />
<van-cell-group inset v-for="item in getOrderListData">
  <van-cell :title="item.product_code" />
  <!-- <van-cell title="单元格" value="内容" label="描述信息" /> -->
</van-cell-group>
  <div style="margin: 16px;">
    <van-button round block type="primary" native-type="submit">
      提交
    </van-button>
  </div>
    </div>
</template>

<script setup>
import { ref } from 'vue';
import { getOrderApi } from '@/api/api';
import { useRouter,useRoute } from 'vue-router';
const router=useRouter()
const route=useRoute()
const getOrderListData=ref([])
const lr=ref('jo5ua0z8u0')
const lr1=route.lr
getOrderApi(lr1).then(res=>{
    console.log(res);
    getOrderListData.value=res.data.data
    console.log(getOrderListData);
    
})
</script>

<style lang="scss" scoped></style>